Q: It seems like the scrollView ignores the frame.origin of its docView. Also, does a ScrollView clip to its update rect(s)?\
\
A: A ScrollView translates the coordinate system of its contentView in response to user movement of the scrollers. Since the frame of the docView is defined in the coordinate system of the contentView (i.e. it's a subview of the contentView), translating the coordinate system of the contentView has the effect of moving the frame, and hence the visible portion of the docView.\
\
When you do a
\b setDocView
\b0 : the system translates the coordinate system of the contentView so that the contentView's bounds.origin is the same as the frame.origin of the docView. For example: if the frame.origin of your docView is \{100.0,100.0\}, the bounds.origin of the contentView will be \{100.0,100.0\} as well. \
\
So the ScrollView does pay attention to what the frame.origin of the docView is, but it doesn't really matter what it is, at least initially.\
\
No, the drawing is not clipped to the update rects; however, you can restrict the area being redrawn yourself by using